/*
    SPELLCHECK Meta Information Code
    Copyright (C) 2013  Ian Duncan

 This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/


#include "spellcheck.h"

using namespace std;

void do_about_msg()
{
	cout << "Spell Check v1.20 By Ian Duncan" << endl;
	cout << endl;
	cout << "linked against libspellcheck v" << lib_version() << " at compile time" << endl;
	cout << endl;
	cout << "Copyright (c) 2013 Ian Duncan";
	cout << endl;
}

void do_license_msg()
{
	cout << "This program is free software: you can redistribute it and/or modify";
 	cout << endl;
	cout << "it under the terms of the GNU General Public License as published by";
	cout << endl;
	cout << "the Free Software Foundation, either version 2 of the License, or";
	cout << endl;
	cout << "(at your option) any later version.";
	cout << endl;
	cout << endl;
	cout << "This program is distributed in the hope that it will be useful,";
	cout << endl;
	cout << "but WITHOUT ANY WARRANTY; without even the implied warranty of";
	cout << endl;
	cout << "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the";
	cout << endl;
	cout << "GNU General Public License for more details.";
	cout << endl;
	cout << endl;
	cout << "You should have received a copy of the GNU General Public License";
	cout << endl;
	cout << "along with this program.  If not, see <http://www.gnu.org/licenses/>.";
	cout << endl;
}

void do_help_msg(char *program)
{
	/*
	program = executable file name
	*/
	cout << "Spell Check v1.20 By Ian Duncan";
	cout << endl;
	cout << program << " \"[words to check]\"";
	cout << endl;
	cout << endl;
	cout << "Also:";
	cout << endl;
	cout << endl;
	cout << program << " -version (Displays Spell Check Version Information)" << endl;
	cout << program << " -license (Displays Spell Check License Information)" << endl;
	cout << program << " -help (Displays this help message)" << endl;
	cout << program << " -add [word to add to dictionary] (Adds a word to the dictionary)" << endl;
	cout << endl;
	cout << "If you would like to specify a custom dictionary file:" << endl;
	cout << program << " \"[words to check]\" -dict [dictionary file]" << endl;
	cout << endl;
	cout << "If you would like to add a word to a custom dictionary file:" << endl;
	cout << program << " -add [word to add to dictionary] -dict [dictionary file]" << endl;
	cout << endl; 

}


